Bases: _RubricPreset
LM judges the agent's plan itself; see PlanAdherence for its execution.
Example:
program.compile(
reward=synalinks.rewards.PlanQuality(
language_model=language_model,
),
optimizer=synalinks.optimizers.RandomFewShot(),
)
Source code in synalinks/src/rewards/rubric_rewards.py
| @synalinks_export(["synalinks.PlanQuality", "synalinks.rewards.PlanQuality"])
class PlanQuality(_RubricPreset):
"""LM judges the agent's plan itself; see PlanAdherence for its execution.
Example:
```python
program.compile(
reward=synalinks.rewards.PlanQuality(
language_model=language_model,
),
optimizer=synalinks.optimizers.RandomFewShot(),
)
```
"""
preset = "plan_quality"
|